package com.carleasoft.mps.forum.business.answer.service;

import com.baomidou.mybatisplus.extension.plugins.pagination.Page;
import com.baomidou.mybatisplus.extension.service.IService;
import com.carleasoft.mps.forum.business.answer.bean.ForumPlate;
import com.carleasoft.mps.forum.business.answer.bean.po.ForumPlatePo;
import com.carleasoft.mps.forum.business.answer.bean.po.ForumUserPo;

import java.util.List;

/**
 * <p>
 *  服务类
 * </p>
 *
 * @author zang
 * @since 2023-05-09
 */
public interface ForumPlateService extends IService<ForumPlate> {

    void saveForumPlate(ForumPlate forumPlate);

    void updateForumPlate(ForumPlate forumPlate);

    Page<ForumPlate> selForumPlate(Page page, ForumPlatePo forumPlatePo);

    ForumPlate detailForumPlate(ForumPlatePo forumPlatePo);

    void updateForumPlateApprove(ForumPlatePo forumPlatePo);

    void updateForumPlateStatus(ForumPlatePo forumPlatePo);

    void deleteForumPlate(ForumPlatePo forumPlatePo);

    Page<ForumPlate> pageMinePlate(Page page, ForumUserPo forumUserPo);
}
